package com.xiyounet.login.service;

import com.xiyounet.login.entity.IUser;
import com.xiyounet.login.vo.Result;

public interface UserService {
    IUser findUser(String username,String password);

    void saveUser(IUser user);

    IUser getUserByPhone(String phone);

    IUser getUserByUserName(String username);

    Result getUserByToken(String token);

    Result changeStatus(Integer sta);

}
